package avicit.bdp.dcs.detail.dto;

import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Entity;
import java.io.Serializable;

/**
 * @金航数码科技有限责任公司
 * @作者：developer
 * @邮箱：developer@avic-digital.com
 * @创建时间： 2020-08-03 11:13
 * @类说明：
 * @修改记录：
 */
@Entity
public class TableDetailDto implements Serializable {

    private static final long serialVersionUID = 1L;

    // bdp_dcs_task_table_detail id
    @ApiModelProperty(value = "主键")
    private String id;

    // 任务id
    @ApiModelProperty(value = "任务id")
    private String taskId;

    // 状态，未启动：23，执行中：1，执行失败：6，暂停中：3，完成：7
    @ApiModelProperty(value = "状态，未启动：23，执行中：1，执行失败：6，暂停中：3，完成：7")
    private Integer taskStatus;

    // 创建表语法
    @ApiModelProperty(value = "创建表语法")
    private String createSql;

    // 源表名
    @ApiModelProperty(value = "源表名")
    private String srcTableName;

    // 目标表名
    @ApiModelProperty(value = "目标表名")
    private String dstTableName;

    // 源库名
    @ApiModelProperty(value = "源库名")
    private String srcSchemaName;

    // 目标库名
    @ApiModelProperty(value = "目标库名")
    private String dstSchemaName;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public Integer getTaskStatus() {
        return taskStatus;
    }

    public void setTaskStatus(Integer taskStatus) {
        this.taskStatus = taskStatus;
    }

    public String getCreateSql() {
        return createSql;
    }

    public void setCreateSql(String createSql) {
        this.createSql = createSql;
    }

    public String getSrcTableName() {
        return srcTableName;
    }

    public void setSrcTableName(String srcTableName) {
        this.srcTableName = srcTableName;
    }

    public String getDstTableName() {
        return dstTableName;
    }

    public void setDstTableName(String dstTableName) {
        this.dstTableName = dstTableName;
    }

    public String getSrcSchemaName() {
        return srcSchemaName;
    }

    public void setSrcSchemaName(String srcSchemaName) {
        this.srcSchemaName = srcSchemaName;
    }

    public String getDstSchemaName() {
        return dstSchemaName;
    }

    public void setDstSchemaName(String dstSchemaName) {
        this.dstSchemaName = dstSchemaName;
    }

}
